{extend name="base" /} {block name="body"}
<div class="layui-body">
	<div class="navbar">
		<a href="{:url('index/index')}"><i class="fa fa-home"></i><cite>首页</cite></a>&nbsp;<span class="layui-box">&gt;</span>
		<a href=""><cite>修改密码</cite></a>
	</div>
	<!--tab标签-->
	<div class="layui-tab layui-tab-card margin10">
		<ul class="layui-tab-title">
			<li class="layui-this">修改密码</li>
		</ul>
		<div class="layui-tab-content">
			<form class="layui-form form-container layui-form-pane" action="{:url()}" method="post">
				<div class="layui-form-item">
					<label class="layui-form-label">登录名</label>
					<div class="layui-input-block">
						<input type="text" readonly value="{$user.login_name}" required lay-verify="required" placeholder="请输入用户名" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">旧密码</label>
					<div class="layui-input-block">
						<input type="password" name="old_pwd" required lay-verify="required" placeholder="请输入旧密码" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">新密码</label>
					<div class="layui-input-block">
						<input type="password" name="login_pwd" value="" placeholder="请输入新密码" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">重复密码</label>
					<div class="layui-input-block">
						<input type="password" name="login_pwd2" value="" placeholder="请输入重复密码" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="*"><i class="fa fa-save"></i> 保存</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
{/block}